package ccmis.finance.capital.dao;

import java.util.List;

import ccmis.finance.capital.entity.InterestRate;
import jfox.platform.infrastructure.DataAccessObject;

/**
 * @author <a href="mailto:ren.yingb@gmail.com">Ren Yingbo</a>
 */
public interface InterestRateDAO extends DataAccessObject{
  
	 void insertInterestRate(InterestRate interestRate);
	 
	 int deleteInterestRate(long id);
	 
	 int updateInterestRate(InterestRate interestRate);
	 
	 InterestRate getInterestRateById(long id);
	 
	 List<InterestRate> getAllInterestRates();
}
